<?php

use Illuminate\Routing\Router;

Admin::routes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
    'as'            => config('admin.route.prefix') . '.',
], function (Router $router) {

    $router->get('/', function (){
        return redirect('/admin/strains/list');
    });
    $router->resource('country/list', CountryController::class);
    $router->resource('sea_area/list', SeaAreaController::class);
    $router->resource('diseases/lise', DiseaseController::class);
    $router->resource('strains/list', StrainController::class);
    $router->resource('count', CountController::class);


});

